#ifndef USER_H_
#define USER_H_
class Bank;
class ObjectsContainer;
//#include "ObjectsContainer.h"
#include<string>
using namespace std;

class User
{
	private:
		string name;
		string ID;
		Bank* acount;
		double yesterdayBankStatus;
		double profit;
		ObjectsContainer* energys;
		ObjectsContainer* theEnergysIcreated;
		ObjectsContainer* theEnergysIconsumed;
	public:
		User();
		User(string name,string ID,Bank* acount,double money);
		virtual ~User();
		void deposit(double amount);	//why we need the name here????
		void withdraw(double amount);	//why we need the name here????
		double getUserStatus();			//why we need the name here????
		void consume(string name,int amount);
		void creat(string name,int amount);
		string getName();
		string getID();
		void addEnergy(string name,int amount);
		void removeEnergy(string name,int amount);
		double getEnergyStatus(string name);
		int getCreateStatus(string energyType);
		int getConsumingSatus(string energyType);
		void updateProfit();
		double getProfit();


};

#endif /*USER_H_*/
